﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Azure.Core
{
    internal class AzFormula
    {
        private String _regex = String.Empty;
        private List<String> _groupNameList = new List<string>();
        private String _prefix = String.Empty;
        private bool _uniqueMatch = false;

        public String Regex { get { return _regex; } }
        public String Prefix { get { return _prefix; } }
        public bool UniqueMatch { get { return _uniqueMatch; } }
        public List<String> GroupNameList { get { return _groupNameList; } }

        public AzFormula(String regex, String prefix, bool uniqueMatch)
        {
            _regex = regex;
            _prefix = prefix;
            _uniqueMatch = uniqueMatch;
        }

        public void AddGroupName(String groupName)
        {
            _groupNameList.Add(groupName);
        }
    }
}
